$OpenBSD: patch-modules_carrierroute_Makefile,v 1.3 2013/04/16 11:13:04 sthen Exp $
--- modules/carrierroute/Makefile.orig	Thu Mar 14 16:45:32 2013
+++ modules/carrierroute/Makefile	Thu Mar 14 16:50:38 2013
@@ -11,10 +11,10 @@ NAME=carrierroute.so
 
 ifeq ($(CROSS_COMPILE),)
 CONFUSE_BUILDER = $(shell \
-	if which confuse-config &>/dev/null;then \
-		echo 'confuse-config'; \
-	elif pkg-config --exists libconfuse; then \
+	if pkg-config --exists libconfuse; then \
 		echo 'pkg-config libconfuse'; \
+	elif which confuse-config &>/dev/null;then \
+		echo 'confuse-config'; \
 	fi)
 endif
 
